<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台登录</title>
<script type="text/javascript" src="../js/jquery-1.11.0.js"></script>
<script type="text/javascript" src="../js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="../js/bootstrap.js"></script>
<script type="text/javascript" src="../js/bootstrap.min.js"></script>
<script type="text/javascript" src="../js/npm.js"></script>
<link rel="stylesheet" href="../css/bootstrap-theme.min.css" />
<link rel="stylesheet" href="../css/bootstrap.css" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-theme.css" />
<style type="text/css">
	body{
    background: url("../img/1.jpg");
    animation-name:myfirst;
    animation-duration:12s;
    /*变换时间*/
    animation-delay:2s;
    /*动画开始时间*/
    animation-iteration-count:infinite;
    /*下一周期循环播放*/
    animation-play-state:running;
    /*动画开始运行*/
}
 @keyframes myfirst{
    0%   {background:url("../img/1.jpg");}
    34%  {background:url("../img/2.jpg");}
    67%  {background:url("../img/3.jpg");}
    100% {background:url("../img/1.jpg");}
}
.form{background: rgba(255,255,255,0.2);width:500px;margin:120px auto;}
/*阴影*/
.fa{display: inline-block;top: 27px;left: 6px;position: relative;color: #ccc;}
input[type="text"],input[type="password"]{padding-left:26px;}
.checkbox{padding-left:21px;}
#checkLabel{
	color: red;
	margin-left: 200px;
	margin-top: -15px;
}
.form-title{
	color: white;
}
</style>

<!--  <script type="text/javascript">

function regForm() {
	var username = $("#username").val();
	var password = $("#password").val();
	if (username == "") {
		var label = $("#checkLabel");
		label.text("* 用户名不能为空！");
		return false;
	}else if (password == "") {
		var label = $("#checkLabel");
		label.text("* 密码不能为空！");
		return false;
	}
	
}
</script>-->
</head>

<body>
	 <div class="container">
        <div class="form row">
        	<form action="backlogin" method="post" onsubmit="return regForm()">
            <div class="form-horizontal col-md-offset-3" id="login_form" >
                <h3 class="form-title">BACK LOGIN</h3>
                <div class="col-md-9">
                    <div class="form-group">
                        <i class="fa fa-user fa-lg"><img
				src="../img/用户.png" /></i>
                        <input class="form-control required" type="text" placeholder="Username" id="username" name="username"  maxlength="20" />
                    </div>
                    <div class="form-group">
                            <i class="fa fa-lock fa-lg"><img
				src="../img/密码.png" /></i>
                            <input class="form-control required" type="password" placeholder="Password" id="password" name="password"  maxlength="8" />
                    </div>
                    <div class="form-group">
                        <label class="checkbox">
                            <input type="checkbox" name="remember" value="1"/>记住我
                        </label>
                    </div>
                    <div class="form-group col-md-offset-9">
                        <button type="submit" class="btn btn-success pull-right" name="submit" onclick="return submitcheck()">登录</button>
                    </div>
                </div>
            </div>
            <label id="checkLabel">${checkLabel }</label>
            </form>
        </div>
    </div>
    	
</body>
</html>